home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / book / Chap06 / MATLIGHT / MATERIALPAGE.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-25  |  1.3 KB  |  56 lines

  1. // MaterialPage.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "matlight.h"
  6. #include "MaterialPage.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CMaterialPage property page
  16.  
  17. IMPLEMENT_DYNCREATE(CMaterialPage, CPropertyPage)
  18.  
  19. CMaterialPage::CMaterialPage() : CPropertyPage(CMaterialPage::IDD)
  20. {
  21.     //{{AFX_DATA_INIT(CMaterialPage)
  22.         // NOTE: the ClassWizard will add member initialization here
  23.     //}}AFX_DATA_INIT
  24. }
  25.  
  26. CMaterialPage::~CMaterialPage()
  27. {
  28. }
  29.  
  30. void CMaterialPage::DoDataExchange(CDataExchange* pDX)
  31. {
  32.     CPropertyPage::DoDataExchange(pDX);
  33.     //{{AFX_DATA_MAP(CMaterialPage)
  34.         // NOTE: the ClassWizard will add DDX and DDV calls here
  35.     //}}AFX_DATA_MAP
  36. }
  37.  
  38.  
  39. BEGIN_MESSAGE_MAP(CMaterialPage, CPropertyPage)
  40.     //{{AFX_MSG_MAP(CMaterialPage)
  41.     //}}AFX_MSG_MAP
  42. END_MESSAGE_MAP()
  43.  
  44. /////////////////////////////////////////////////////////////////////////////
  45. // CMaterialPage message handlers
  46.  
  47. BOOL CMaterialPage::OnInitDialog() 
  48. {
  49.     CPropertyPage::OnInitDialog();
  50.     
  51.     // TODO: Add extra initialization here
  52.     
  53.     return TRUE;  // return TRUE unless you set the focus to a control
  54.                   // EXCEPTION: OCX Property Pages should return FALSE
  55. }
  56.